package com.swing.dome;

import com.swing.assets.Itool;

import javax.swing.*;
import java.awt.event.ComponentAdapter;
import java.awt.event.ContainerAdapter;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;

/**
 * @author Yuang, Gongming
 * @date 2022-01-26 10:47
 */
public class Start {
    public static void main(String[] args) {
        JFrame jFrame = new JFrame("页面（测试中心）");
        jFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        jFrame.setSize(Itool.WIN_WIDTH / 2, Itool.WIN_HEIGHT / 2);
        jFrame.setLocationRelativeTo(null);

        jFrame.setContentPane(MyJPanel.init());

        jFrame.setVisible(true);
    }
}